Multiple stage tracking filter using a self-calibrating RC oscillator circuit

ABSTRACT

A multiple stage tracking filter includes a self-calibrating RC oscillator, a resistor connected to the self-calibrating RC oscillator and a capacitor connected to the self-calibrating RC oscillator. The filter further includes a switched capacitor filter element connected to the self-calibrating RC oscillator. The switched capacitor filter elements include a switch which is controlled by a timing signal from the self-calibrating RC oscillator. A method of filtering a signal includes the steps of operating a self-calibrating RC oscillator to generate a timing signal, tuning a plurality of cascaded filter elements with the generated timing signal and passing a signal through the plurality of tuned cascaded filter elements.

RELATED PATENT APPLICATIONS

The present invention is related to subject matter which is disclosedin:

U.S. patent application Ser. No. 08/479,304 filed on the same day as thepresent patent application (Timothy G. O'Shaughnessy and David Brown, "ASelf-Calibrating RC Oscillator"),

U.S. patent application Ser. No. 08/479,303 filed on the same day as thepresent patent application (Timothy G. O'Shaughnessy and David Brown, ALow Power RC Oscillator Using a Low Voltage Bias Circuit),

U.S. patent application Ser. No. 08/479,302 filed on the same day as thepresent patent application (Timothy G. O'Shaughnessy and David Brown, "ACircuit for Detecting the Absence of an External Component"),

U.S. patent application Ser. No. 08/479,301 filed on the same day as thepresent patent application (Timothy G. O'Shaughnessy and David Brown, "ACircuit for Externally Overdriving an Internal Clock"),

U.S. patent application Ser. No. 08/479,300 filed on the same day as thepresent patent application (Timothy G. O'Shaughnessy and David Brown, "ATiming Circuit with Rapid Initialization on Power-up"), and

U.S. patent application Ser. No. 08/479,299 filed on the same day as thepresent patent application (Timothy G. O'Shaughnessy and David Brown, "ADigitally-Tuned Oscillator Including a Self-Calibrating RC OscillatorCircuit").

FIELD OF INVENTION

The present invention relates to the field of filter circuits and moreparticularly to multiple stage tracking filters utilizing switchedcapacitor filter elements and an RC oscillator for tuning the filterelements.

BACKGROUND OF THE INVENTION

Conventional signal filters often utilize highpass and lowpass filterelements based on RC filter designs. The pole of a typical RC filter islocated at a frequency of 1/RC. Unfortunately, it is generally difficultto accurately set the resistance and capacitance in a cost-effectivemanner while producing large quantities of circuits. Improved signalfilters are constructed which utilize switched capacitor filters whichare advantageous because they provide a very precise pole for low passfilter and high pass filters. These poles are based on the clockfrequency and the on-chip capacitor ratio. The pole of a typical RCfilter resides at a frequency of 1/RC. The pole of a switched capacitorfilter occurs at a frequency equal to the clock frequency times theratio of two capacitors, f*(C₂ /C₁). Because the pole of a switchedcapacitor filter is determined by a ratio of capacitances, positioningof the pole is process independent. The oxide thickness of an integratedcircuit is substantially constant throughout the integrated circuit chipso that the oxide thickness is the same for both capacitors.

Although the location of a filter pole is process independent, thelocation is sensitive to the clock frequency of a timing signal thatcontrols the switch of the switched capacitor filter. Conventionalswitched capacitor filters utilize a crystal oscillator to precisely setpositions of the poles of the plurality of filters. The poles are placedprecisely in selected positions by selecting the relationships of thecapacitance of the two capacitors in a filter and by the timingfrequency of the circuit. Unfortunately, crystal oscillators are veryexpensive relative to other oscillators. Furthermore, a crystaloscillator generates a fixed frequency so that variable-frequency filterdesigns are not simply constructed.

What is needed is an inexpensive, simple and adjustable filter circuit.

SUMMARY OF THE INVENTION

In accordance with a first embodiment of the present invention, a filterincludes a self-calibrating RC oscillator, a resistor connected to theself-calibrating RC oscillator and a capacitor connected to theself-calibrating RC oscillator. The filter further includes a switchedcapacitor filter element connected to the self-calibrating RCoscillator. The switched capacitor filter elements include switchelements that are controlled by timing signals from the self-calibratingRC oscillator.

In accordance with a second embodiment of the present invention, amethod of filtering a signal includes the steps of operating aself-calibrating RC oscillator to generate a timing signal, tuning aplurality of cascaded filter elements with the generated timing signaland passing a signal through the plurality of tuned cascaded filterelements.

A filter including multiple switched capacitor filter elements and aself-calibrating RC oscillator achieves several advantages. Utilizationof the self-calibrating RC oscillator advantageously provides forvariable cutoff frequencies for the filter elements. Furthermore, theimplementation of a multiple stage filter using the self-calibrating RCoscillator advantageously furnishes tuning for all filter elements sothat all elements track the operating frequency of the RC oscillator.Each filter stage of the multiple stage tracking filter operates as anRC filter element, having pole positions that are based on a singlevariable resistor. Thus, the filter characteristics of all filterelements of the multiple stage tracking filter are changed synchronouslyand uniformly in a selected manner.

BRIEF DESCRIPTION THE DRAWINGS

FIG. 1 illustrates a functional block diagram of an embodiment of aself-calibrating RC oscillator circuit.

FIG. 2 depicts a transistor-level schematic diagram of an embodiment ofthe self-calibrating RC oscillator circuit.

FIG. 3 is a timing diagram which illustrates the operation of the RCoscillator shown in FIG. 2.

FIG. 4 illustrates a schematic circuit diagram of a voltage-controlledoscillator (VCO) in the RC oscillator circuit shown in FIG. 2.

FIGS. 5(a) through 5(f) illustrate a schematic circuit diagram of anadditional embodiment of a self-calibrating RC oscillator circuit whichis optimized for low power operation.

FIGS. 6(a) through 6(g) show a schematic circuit diagram of adigitally-tuned oscillator circuit.

FIGS. 7(a) and 7(b) respectively illustrate a transistor-level schematicdiagram of a clocked comparator circuit and a timing diagram showing theoperation of the clocked comparator circuit.

FIGS. 8(a) and 8(b) depict a highpass RC filter and a highpass switchedcapacitor filter, respectively.

FIGS. 9(aand 9(b) depict a lowpass RC filter and a lowpass switchedcapacitor filter, respectively.

FIG. 10 depicts a multiple stage tracking filter which includes aplurality of N switched capacitor filter stages.

FIGS. 11(a) and 11(b) respectively are graphs that illustrate electron(N-type carrier) mobility and hole (P-type carrier) mobility.

DETAILED DESCRIPTION

Referring to FIG. 1, a functional block diagram of an embodiment of aself-calibrating RC oscillator circuit 300 includes a voltage referenceblock 310, an operational amplifier 320, a ramp and hold circuit 330, anRC network 350, a comparator 360, a charge pump circuit 370, a coreoscillator 380 and a divide-by-N binary counter 390. The RC network 350includes a resistor Rosc and a capacitor Cosc. The RC oscillator circuit300 has no phase comparator and, thus, fundamentally differs from aphase-locked loop (PLL). Furthermore, the RC oscillator circuit 300 usesno input frequency reference signal and, therefore, is not afrequency-locked loop (FLL).

The RC oscillator circuit 300 is constructed on an integrated circuitchip. In some embodiments, the RC oscillator circuit 300 includesmultiple lines for controlling the oscillator to precisely trim thecurrent to a desired accuracy. The voltage reference block 310 applies avoltage reference VREF to a noninverting input terminal of theoperational amplifier 320. An output terminal of the operationalamplifier 320 is connected to the gate of an N-channel MOS transistor322, which has a source terminal connected through the resistor Rosc ofthe RC network 350 to a VSS (ground) reference. The source terminal ofthe N-channel MOS transistor 322 is connected to an inverted inputterminal of the operational amplifier 320. Connected in this manner,operational amplifier 320 drives the N-channel MOS transistor 322 which,when connected in series with the resistor Rosc, forms avoltage-to-current converter having a current applied to the ramp andhold circuit 330.

The ramp and hold circuit 330 is connected to a control line Ctime fromdivide-by-N binary counter 390 and generates an output analog signalVhold which is applied to the noninverting input terminal of analogcomparator 360. Furthermore, ramp and hold circuit 330 has one terminalconnected to the voltage-to-current converter formed by N-channel CMOStransistor 322 and resistor Rosc. The ramp and hold circuit 330 has asecond terminal connected to capacitor Cosc for charging capacitor Cosc.The ramp and hold circuit 330 operates essentially as a current mirrorwhich mirrors a current equal to VREF/Rosc to the capacitor Cosc,causing capacitor Cosc to charge in a substantially linear manner withtime in accordance with the equation dV/dt=I/C. Thus, for a particularamount of charging time, capacitor Cosc is charged to a voltage having aparticular value. The charging time is controlled by a time durationsignal on control line Ctime and applied to the ramp and hold circuit330 by the divide-by-N binary counter 390. The divide-by-N binarycounter 390 receives a timing signal from the core oscillator 380 andderives the time duration signal on control line Ctime by counting clockpulses of the timing signal and dividing down this count by apreselected denominator. When a selected time duration has transpired,Ctime signal stops the charging of the capacitor Cosc. Generally, if thefrequency of the core oscillator 380 decreases, capacitor Cosc chargesfor a longer time duration to higher voltages. If the core oscillator380 frequency increases, capacitor Cosc charges for a shorter time to alower voltage. The ramp and hold circuit 330 applies the voltage oncapacitor Cosc to the analog comparator 360. Analog comparator 360compares the Vhold voltage to the reference voltage VREF, which isreceived from the voltage reference block 310 at the inverting terminalof the analog comparator 360.

The analog comparator 360 generates a high or low value which is appliedto the charge pump circuit 370. The signal from the analog comparator360 ultimately depends on the frequency of operation of core oscillator380 and is used to determine whether to pump up or pump down the chargepump circuit 370. The analog comparator 360 and charge pump circuit 370act in combination to adjust the core oscillator 380 in aself-correcting manner using negative feedback. A voltage signalgenerated by the charge pump circuit 370 drives the core oscillator 380.

The core oscillator 380 generates the output signal of the RC oscillator300 on frequency output line Fout and drives the divide-by-N binarycounter 390. In the illustrative embodiment, the core oscillator 380 isa voltage-controlled oscillator (VCO). In other embodiments, acurrent-controlled oscillator (CCO) is utilized. A suitable CCO isbetter disclosed in U.S. patent application Ser. No. 08/379,049,entitled "A FREQUENCY CONVERTER UTILIZING A FEEDBACK CONTROL LOOP",O'Shaughnessy, T. G. et at., filed Jan. 27, 1995 (Attorney docket NumberM-3174), which is herein incorporated by reference in its entirety. Withrespect to one aspect, the VCO embodiment is preferred because theoutput signal of the charge pump 370 is a voltage so that a CCOimplementation would require an additional voltage to current convertercircuit.

Thus, RC oscillator circuit 300 functions by comparing two voltages--areference voltage which is supplied as an input signal and afrequency-derived voltage signal indicative of the operating frequencyof the core oscillator 380. The core oscillator 380 produces a timingsignal of pulses which oscillates at a determined frequency. The timingsignal of pulses is frequency-divided by the divide-by-N binary counter390. The frequency-divided timing signal from the binary counter 390drives the ramp and hold circuit 330 and the integrating charge pump370. The ramp and hold circuit 330 generates a current signal which isproportional in amplitude to the reference voltage. The current signalis mirrored to the capacitor Cosc.

Following initialization, the capacitor Cosc charges until the start ofa "hold" interval which is controlled by the time duration signal oncontrol line Ctime. If the frequency of the timing signal generated bythe core oscillator 380 is low, the capacitor Cosc charges to a "hold"voltage Vhold that exceeds the reference voltage Vref. The output signalof analog comparator 360 then activates the charge pump 370 to increasethe input voltage to the core oscillator 380. The core oscillator 380then increases the frequency of the timing signal of pulses. A highfrequency of the VCO-generated timing signal produces a low "hold"voltage. The comparator 360 activates the charge pump 370 to decreasethe input voltage to the core oscillator 380.

The RC oscillator circuit 300 is ratiometric so that: (1) the currentIramp charging the capacitor Cosc, (2) the ramp rate dV/dt, (3) theresulting "hold" voltage Vhold, and (4) the oscillator frequency Foscare derived in accordance with the following equations:

    Iramp=m×(Vref/Rosc),                                 (1)

    dV/dt=(m×Vref)/(Rosc*Cosc),                          (2)

    Vhold=(m×Vref×Tramp)/(Rosc*Cosc),              (3)

    Fosc=(M×N)/(Rosc*Cosc),                              (4)

where Iramp is the current charging the capacitor Cosc, m is the currentmirror ratio, Rosc and Cosc are, respectively, the resistance andcapacitance which are predefined for usage in the RC oscillator circuit300 for setting the operating frequency. Furthermore, Vref is theinternal reference voltage, Vhold and Tramp are, respectively, the holdvoltage and time of the charging interval of the ramp and hold circuit330, N is the divide-by ratio of the binary counter 390 and Fosc is theoutput frequency of the core oscillator 380.

The voltage reference VREF generated by the voltage reference block 310is used for two functions. First, VREF is used to produce the currentfor charging the capacitor Cosc. Second, VREF is applied to theinverting input terminal of the analog comparator 360 for comparing tothe Vhold signal in the RC oscillator 300 feedback loop. Notice inequation (3) above that Vhold is obtained from multiplying VREF with aparameter. Thus in the comparison of Vhold to VREF by analog comparator360, VREF cancels so that the circuit is theoretically independent ofthe value of the reference voltage for purposes of determining thefrequency of the RC oscillator 300. This theoretical lack of constraintson the value of VREF allows some circuit simplification. However, inpractice, the analog comparator 360 has some offset voltage whichcontributes an additive error voltage to the input voltage level VREF.Thus, VREF is set to a sufficiently large amplitude to overwhelm theoffset error.

The frequency of the core oscillator 380 establishes a "hold" voltage atthe output terminal of the ramp and hold circuit 330. The hold voltageand a reference voltage from the voltage reference block 310 are appliedto the input of the analog comparator 360. If the hold voltage is lessthan the reference voltage, the frequency is high. The comparator outputthen drives the charge pump 370 to produce a lower voltage forapplication to the input terminal of the core oscillator 380, whichreduces the frequency of the core oscillator 380. If the frequency ofthe core oscillator 380 is low, the hold frequency increases, thecomparator 360 drives the charge pump 370 to produce a larger voltage atthe input terminal of the core oscillator 380, which increases theoscillator frequency.

RC oscillator circuit 300 samples its operating clock period, comparesthe sampled clock period to the sample period of RC network 350, andgenerates a negative feedback signal that corrects for variations indelay which result from changes in temperature, power supply voltage andvariable process parameters.

RC oscillator circuit 300 includes several features that facilitate highperformance. For example, the analog signal processing within the RCnetwork 350, the analog comparator 360 and the charge pump circuit 370operate under control of timing signals applied at a divided frequencyof Fosc/N. This lower-frequency operation allows adequate settling timefor transient signals within these analog circuits and, therefore,permits a very accurate comparison between the Vhold and Vref voltages.

In addition, scaling of the frequency by the binary counter 390 makesthe time constant of the capacitor Cosc relatively larger with respectto the timing interval of the RC oscillator circuit 300. As a result,the capacitor Cosc becomes sufficiently large to be insensitive tocharge injection and parasitic capacitances.

Various embodiments of the RC oscillator circuit 300 include differentimplementations of the RC network 350. For example, some embodiments ofthe RC oscillator circuit 300 are fully monolithic, having no externalelements. In a completely monolithic embodiment, no pins are furnishedfor connection to external elements and the RC oscillator circuit 300uses a polysilicon resistor array (not shown) that is trimmed to set theoperating frequency. In a one-pin embodiment of the RC oscillatorcircuit 300, the capacitor Cosc is furnished using the chip dielectricof the integrated circuit. The one-pin RC oscillator 300 uses anexternal resistor Rosc and furnishes an option to trim out processvariations of capacitance. In a two-pin embodiment of the RC oscillator300, both the resistance of resistor Rosc and the capacitance ofcapacitor Cosc are furnished by external frequency-setting elements. TheRC oscillator circuit 300 automatically corrects for changes in circuitdelay resulting from variability in temperature, power supply voltageand MOS process parameters.

Referring to FIG. 2, a transistor-level schematic diagram of anembodiment of the self-calibrating RC oscillator circuit 400 shows abias circuit 410, an inverter 420, a ramp and hold circuit 430, an RCnetwork 450, an analog comparator 460, a charge pump circuit 470, avoltage-controlled oscillator (VCO) 480, a decode logic circuit 490 anda divide-by-N circuit 496.

The bias circuit 410 generates a reference current conducting throughresistor Rosc 408 that is equal to VREF/Rosc and is thereforefunctionally similar to the voltage reference block 310 and operationalamplifier 320 shown in FIG. 1. Single input analog comparator 460includes input inverter 420 and CMOS inverters 462 and 464. Inputinverter 420 includes a P-channel MOS transistor (P2) 422 and anN-channel MOS transistor (N2) 424. The single input terminal of inverter420 is the gate of N-channel MOS transistor (N2) 424. The outputterminal of inverter 420 is the drain of N-channel MOS transistor (N2)424. The switching threshold of inverter 420 is a function of thecurrent conducted through P-channel MOS transistor (P2) 422 so that anincrease in current increases the switching threshold voltage. However,the switching voltage is widely variable, differing by up to severalhundreds of millivolts, under varying process and temperature conditionsalthough a particular switching voltage is very consistent within thesame integrated circuit.

The inverter 420 is connected to the bias circuit 410 to duplicate thereference current through resistor Rosc 408. Bias circuit 410 includes afirst current mirror P-channel MOS transistor (P3) 411, a second currentmirror P-channel MOS transistor (P4) 412, a N-channel MOS transistor(N3) 413, a matched N-channel MOS transistor (N4) 414 and an N-channelMOS transistor (N1) 416. First current mirror P-channel MOS transistor(P3) 411 and second current mirror P-channel MOS transistor (P4) 412form a current mirror 415 so that the current drawn off the drain offirst current mirror P-channel MOS transistor (P3) 411 is mirrored tosecond current mirror P-channel MOS transistor (P4) 412. The drainterminals of first current mirror P-channel MOS transistor (P3) 411 andsecond current mirror P-channel MOS transistor (P4) 412 are respectivelyconnected to the drain terminals of N-channel MOS transistor (N3) 413and matched N-channel MOS transistor (N4) 414. Furthermore, N-channelMOS transistor (N3) 413 and matched N-channel MOS transistor (N4) 414are matched and receive the same current from the current mirror 415 sothat their gate to source voltages are virtually identical.

N-channel MOS transistor (N1) 416 has a drain terminal and a gateterminal connected to the source terminal of matched N-channel MOStransistor (N4) 414 and a source terminal connected to the groundreference source VSS. Connected in this manner, N-Channel MOS transistor(N1) 416 generates a gate to source voltage V_(GSN1) which is equal tothe voltage across the resistor Rosc 408 in accordance with theequation:

    V.sub.ROSC =V.sub.GSN1

so that the current i_(ROSC) conducted through the resistor Rosc 408 isdetermined according to the equation:

    i.sub.Rosc =V.sub.GSN1 /Rosc.

The current i_(Rosc) charges the capacitor Cosc 409 through theoperation of the ramp and hold circuit 430.

The bias circuit 410 described with respect to FIG. 2 includes fivetransistors 411, 412, 414, 416 and 413 and performs functions which areanalogous to the functions of voltage reference generator 310,operational amplifier 320 and MOS transistor 322 shown in FIG. 1. The RCoscillator 400 is advantageously a simplified circuit which does notutilize an operational amplifier or a differential comparator.

The ramp and hold circuit 430 includes a ramp and hold input P-channelMOS transistor (P5) 431, a ramp and hold differential switch 432, and aramp and hold N-channel transistor (N7) 436. The ramp and holddifferential switch 432 includes a first ramp and hold differentialswitch P-channel MOS transistor (P6) 433 and a second ramp and holddifferential switch P-channel MOS transistor (P7) 434. Ramp and holdinput P-channel MOS transistor (P5) 431 has a source terminal connectedto the power supply source VDD, a drain terminal connected to the rampand hold differential switch 432 and a gate terminal connected to thegate terminals of first current mirror P-channel MOS transistor (P3) 411and second current mirror P-channel MOS transistor (P4) 412. First rampand hold differential switch P-channel MOS transistor (P6) 433 has asource terminal connected to the drain terminal of ramp and hold inputP-channel MOS transistor (P5) 431, a drain terminal connected to theground reference source VSS and a gate terminal connected to a HOLDF(hold false) control line from the decode logic 490. Second ramp andhold differential amplifier P-channel MOS transistor (P7) 434 has asource terminal connected to the drain terminal of ramp and hold inputP-channel MOS transistor (P5) 431 and a gate terminal connected to aHOLD control line from the decode logic 490. Ramp and hold N-channeltransistor (N7) 436 has a source terminal connected to the groundreference source VSS, a drain terminal connected to the drain terminalof second ramp and hold differential amplifier P-channel MOS transistor(P7) 434 and to capacitor Cosc 409 and a gate terminal connected to anINIT line from the decode logic 490. Due to the extensive transistormatching and current mirroring in the bias circuit 410, the currentconducting through P-channel MOS transistors (P3) 411 and (P4) 412 andN-channel MOS transistors (N3) 413, (N4) 414 and (N1) 416 areessentially the same and equal to i_(ROSC). Ramp and hold inputN-channel MOS transistor (P5) 431 also forms a current mirror with firstcurrent mirror P-channel MOS transistor (P3) 411 so that nearly the samecurrent i_(ROSC) passes through the drain of ramp and hold inputN-channel MOS transistor (P5) 431, through second ramp and holddifferential amplifier P-channel MOS transistor (P7) 434, therebycharging the capacitor Cosc 409. The current i_(ROSC) generated by thebias circuit 410 produces a voltage across the resistor Rosc 408 havinga value that can be arbitrarily set in a wide range of voltages and forthis arbitrary voltage a corresponding arbitrary proportional currentcharges the capacitor Cosc 409. In addition, N-channel MOS transistor(N2) 424 is matched to N-channel MOS transistor (N1) 416 so that thegate to source voltage V_(GSN1) is very precisely equal to the switchingvoltage of the CMOS input inverter 420 of P-channel MOS transistor (P2)422 and N-channel MOS transistor (N2) 424.

The output signal of the CMOS inverter 420 is passed from the drainterminals of P-channel MOS transistor (P2) 422 and N-channel MOStransistor (N2) 424 to the input terminal of analog comparator 460,which includes inverters 462 and 464.

Operation of the RC oscillator 400 is described with reference to thetiming diagram shown in FIG. 3 in conjunction with FIG. 2. Decode logic490 controls a four phase timing cycle 405 including phases T1 401, T2402, T3 403 and T4 404. During a charge ramping interval of phase T1401, the capacitor Cosc 409 is charged as the decode logic 490 sets thehold signal on line HOLD to a low logic level and sets the hold falsesignal on line HOLDF to a high logic level, respectively making secondramp and hold differential switch P-channel MOS transistor (P7) 434conductive and first ramp and hold differential switch P-channel MOStransistor (P6) 433 nonconductive. Accordingly, the current i_(Rosc)from ramp and hold input N-channel MOS transistor (P5) 431 is steered tocapacitor Cosc 409 and the charge across the capacitor Cosc 409 steadilyincreases or "ramps up".

During a voltage hold phase T2 402, the charge on capacitor Cosc 409 isheld constant as the decode logic 490 sets the hold signal on line HOLDto a high logic level and sets the hold false signal on line HOLDF to alow logic level, respectively making second ramp and hold differentialswitch P-channel MOS transistor (P7) 434 nonconductive and first rampand hold differential switch P-channel MOS transistor (P6) 433conductive. The current i_(Rosc) from ramp and hold input N-channel MOStransistor (P5) 431 remains the same but is steered to ground referencesource VSS. Also during interval T2 402, the comparison of the voltageon capacitor Cosc 409 is made. While the charge on capacitor Cosc 409 isheld for the entire interval T2 402, the comparison of the voltage oncapacitor Cosc 409 may last the duration of interval T2 402 or may lastonly a fraction of interval T2 402. Some advantages arise if the compareoperation endures for only a fraction of the interval. These advantagesare discussed hereinafter in a discussion of the charge pump circuit470. Thus, the overall result of the operations of bias circuit 410,input inverter 420 and ramp and hold circuit 430 is that if thecapacitor Cosc 409 is charged to a voltage greater than the gate tosource voltage V_(GSN1) of N-channel MOS transistor (N1) 416 then theoutput voltage of N-channel MOS transistor (N2) 424 signifies a logiczero. Otherwise, the gate voltage of N-channel MOS transistor (N2) 424is insufficient to sink the current from P-channel MOS transistor (P2)422 so that N-channel MOS transistor (N2) 424 generates a logic onesignal. CMOS inverters 462 and 464 have sufficient voltage gain, thatrail-to-rail CMOS logic levels are produced to the respective inputterminals of charge pump 475.

Thus, time intervals T1 401 and T2 402 respectively time the ramping andholding operations of the ramp and hold circuit 430. These operationsare similar to the sample and hold operations of a sample and holdcircuit but differ in that no external voltage is sampled, but rather aninternal charge on the capacitor Cosc 409 is measured.

During time interval T3 403, capacitor Cosc 409 is discharged. Ramp andhold N-channel transistor (N7) 436 is activated under control of decodelogic 490 which sets an initialized signal on line INIT to a logic onefrom a previous value of logic zero and thereby renders ramp and holdN-channel transistor (N7) 436 conductive to discharge capacitor Cosc409. The initialized signal on the INIT line is high during timeintervals T3 and T4 and low during intervals T1 and T2. At the risingedge of the signal on the INIT line, decode logic 490 produces a fallingedge on the HOLD line so that the current from ramp and hold inputN-channel MOS transistor (P5) 431 is conducted through both second rampand hold differential switch P-channel MOS transistor (P7) 434 and rampand hold N-channel transistor (N7) 436. As ramp and hold N-channeltransistor (N7) 436 becomes conductive and operates in the ohmic region,capacitor Cosc 409 is discharged to a small offset voltage, the voltagelevel of the "on voltage" of ramp and hold N-channel transistor (N7) 436(for example, approximately 50 mV). This discharging of capacitor Cosc409 may be considered a "predischarge" operation to a much lower voltagethan the "hold" voltage.

During time interval T4 404, any residual charge is discharged fromcapacitor Cosc 409. Decode logic 490 sets the hold signal on HOLD linehigh and the hold false signal on HOLDF line low. The initialized signalon INIT line remains high so that ramp and hold N-channel transistor(N7) 436 remains conductive. No additional current from ramp and holdinput P-channel MOS transistor (P5) 431, other than a possible smallleakage current, is conducted to ramp and hold N-channel transistor (N7)436 because the current is steered down the drain of first ramp and holddifferential switch P-channel MOS transistor (P6) 433. Thus, ramp andhold N-channel transistor (N7) 436 is operating in the ohmic region andconducting only a leakage current from second ramp and hold differentialamplifier P-channel MOS transistor (P7) 434. Only a very small residualvoltage of approximately 50 μV, essentially zero, remains on thecapacitor Cosc 409. At the end of interval T4 404, capacitor Cosc 409 isvery completely discharged to a precise initial condition of zero voltsand again is ready to repeat the charging interval 401.

Charge pump circuit 470 includes a charge pump current source P-channelMOS transistor (P9) 471, a charge pump control differential switch 472,a charge pump signal differential amplifier 475, and a charge pumpcapacitor Cpump. Charge pump current source P-channel MOS transistor(P9) 471 has a source terminal connected to power supply source VDD anda drain terminal connected to charge pump control differential switch472. Charge pump current source P-channel MOS transistor (P9)) 471 has aW/L ratio which is reduced from the ratio of first current mirrorP-channel MOS transistor (P3) 411 so that the charge pump sourcedcurrent i_(pump) is made much smaller than current i_(Rosc). Charge pumpcontrol differential switch 472 includes a pump true P-channel MOStransistor (P10) 473 and a pump false P-channel MOS transistor (P11)474. Pump true P-channel MOS transistor (P10) 473 has a source terminalconnected to the drain terminal of charge pump current source P-channelMOS transistor (P9) 471, a drain terminal connected to ground referencesource VSS and a gate control terminal connected to decode logic 490 viaa PUMPT line. Pump false P-channel MOS transistor (P11) 474 has a sourceterminal connected to the drain terminal of charge pump current sourceP-channel MOS transistor (P9) 471, a drain terminal connected to chargepump signal differential amplifier 475 and a gate control terminalconnected to decode logic 490 via a PUMPF line. Charge pump currentsource P-channel MOS transistor (P9) 471 and charge pump controldifferential switch 472 source current to the charge pump differentialamplifier 475. Charge pump differential amplifier 475 includes a chargepump first P-channel MOS transistor (P13) 476, a charge pump secondP-channel MOS transistor (P12) 477, a charge pump first N-channel MOStransistor (N13) 478 and a charge pump second N-channel MOS transistor(N14) 479. Charge pump first P-channel MOS transistor (P13) 476 has asource terminal connected to the drain terminal of pump false P-channelMOS transistor (P11) 474, a drain terminal, and a control gate terminalconnected to the output terminal of inverter 462 of analog comparator460. Charge pump P-channel MOS transistor (P12) 477 has a sourceterminal connected to the drain terminal of pump false P-channel MOStransistor (P11) 474, a drain terminal connected to the charge pumpcapacitor Cpump of charge pump circuit 470 and to the control input ofVCO 480, and a control gate terminal connected to the output terminal ofinverter 464 of analog comparator 460. Charge pump N-channel MOStransistor (N13) 478 has a source terminal connected to the groundreference VSS and a drain and gate terminal connected to the drainterminal of charge pump P-channel MOS transistor (P13) 476. Charge pumpN-channel MOS transistor (N14) 479 has a source terminal connected tothe ground reference VSS, a gate terminal connected to the gate terminalof charge pump N-channel MOS transistor (N13) 478 and a drain terminalconnected to the drain terminal of charge pump P-channel MOS transistor(P12) 477.

Decode logic 490 controls the charge pump circuit 470 to acquire thelogic signal at the output of analog comparator 460 by controlling apump true signal on a PUMPT line and a pump false signal on a PUMPF linewhich is complementary to the PUMPT line. At the time within interval T2402 when the comparison of capacitor Cosc 409 is sufficiently complete,then decode logic 490 sets the pump true signal high and the pump falsesignal low so that pump true P-channel MOS transistor (P10) 473 isnonconductive and pump false P-channel MOS transistor (P11) 474 conductsthe current i_(pump) from the drain terminal of charge pump currentsource P-channel MOS transistor (P9) 471 through the source and drain ofpump false P-channel MOS transistor (P11) 474 to begin charging thecurrent sources of charge pump P-channel MOS transistors (P13) 476 and(P12) 477. The state of the analog comparator 460 controls the currentflow in charge pump signal differential amplifier 475.

When differential amplifier second P-channel MOS transistor (P12) 477has a low signal on the gate terminal and is therefore conductive anddifferential amplifier first P-channel MOS transistor (P13) 476 has ahigh signal on the gate terminal and is nonconductive, the drain currentof pump false P-channel MOS transistor (P11) 474 is transmitted tolinearly charge the pump capacitor Cpump. The voltage on the capacitorCpump changes linearly because the capacitor Cpump is charged with afixed current. When charge pump second P-channel MOS transistor (P12)477 has a high signal on the gate terminal and is nonconductive andcharge pump first P-channel MOS transistor (P13) 476 has a low signal onthe gate terminal and is conductive, the drain current of pump falseP-channel MOS transistor (P11) 474 is conducted to the ground referenceVSS. At the end of the T2 402 interval the charge on the charge pumpcapacitor Cpump is held as decode logic 490 sets the pump true signallow and the pump false signal high so that pump true P-channel MOStransistor (P10) 473 is conductive and passes the drain current of pumpfalse P-channel MOS transistor (P11) 474 to ground reference VSS.

Otherwise differential amplifier second P-channel MOS transistor (P12)477 has a high signal on the gate terminal and is nonconductive andcharge pump first P-channel MOS transistor (P13) 476 has a low signal onthe gate terminal and is conductive, the drain current of pump falseP-channel MOS transistor (P11) 474 is steered to N13. N13 forms acurrent mirror with N14 so that N14 duplicates the current of N13, whichallows the charge pump circuit 470 to discharge a unit of charge fromthe capacitor Cpump, linearly decreasing the charge on capacitor Cpumpbecause the current is fixed. Accordingly, the charge pump circuit 470either charges or discharges the charge pump capacitor Cpump with thecharge and discharge amounts being substantially equivalent. Thus thevoltage across the pump capacitor Cpump may have the form of a stairstepfunction either charging or discharging the pump capacitor Cpumpdepending on whether the VCO 480 is high in frequency or low infrequency. Eventually the frequency of the VCO 480 reaches asteady-state, balanced condition in which the voltage across thecapacitor Cosc 409 substantially matches the threshold voltage V_(GNS1)so that the voltage across the pump capacitor Cpump toggles betweencharging and discharging for each successive T2 402 timing interval tothe next. Each adjustment causes the oscillating frequency to deviateslightly from the ideal oscillating frequency determined by the RCnetwork 450, slightly overcompensating for the previous adjustment inthe opposite direction. The charge pump circuit 470 continues toalternately charge and discharge the pump capacitor Cpump until a changein operating conditions such as initialization, a quantum charge, aparasitic leakage or the like occurs which causes readjustment of thecharge pump. In this manner, the charge pump circuit 470 generates anerror voltage that causes the feedback loop of the RC oscillator circuit400 to self-correct so that the average frequency is precisely thecorrect frequency of oscillation. This condition is called a "dither"and the average oscillating frequency is extremely accurate.

In accordance with the function of charge pump circuit 470, RCoscillator 400 is frequency-modulated with the amount of frequencymodulation determined by the size of the pump capacitor Cpump and theamount of current i_(pump) conducting through the drain of charge pumpcurrent source P-channel MOS transistor (P9) 471. More frequencymodulation results for a larger current i_(pump) and for a smaller pumpcapacitor Cpump. Likewise, less frequency modulation occurs for asmaller value of pump current i_(pump) and also for a larger pumpcapacitor Cpump.

The decode logic circuit 490 and divide-by-N circuit 496 in RCoscillator 400 implement a divide-by-N operation in which N is aninteger multiple of four, and N has a minimum value of four. N is atleast four to count the four-phase timing cycle 405 shown in FIG. 3. Thefour-phase timing cycle includes two phases ("on" and "off" phases) ofthe initialized signal on the INIT line for each cycle, and four phases(two cycles) of the hold true and hold false signals on the HOLD andHOLDF lines. N is increased to a number greater than four to improveperformance of RC oscillator 400 since it is advantageous to control thepump true and false signals on the PUMPT and PUMPF lines for a shorterinterval of time than the hold true and hold false signals. The pumptrue and false signals operate at the same frequency as the initializedsignal on the INIT line but at a lower duty cycle. Thus, increasing theN count of the divide-by-N circuit 496 higher than four avoids nonidealloop dynamics that occurs when steering current to the pump capacitorCpump and the frequency changes. Increasing the N count allows thecomparator more time to settle before sampling and permits the samplinginterval to be shortened, avoiding the nonideal correction of the loopthat results from adjusting the oscillator frequency over a largefraction of the evaluation interval.

Referring to FIG. 4, the VCO 480 includes an operational amplifier 510,a current mirror 520, a quadripole network 530, capacitors C1 and C2,inverter network 540, and NOR gates 552 and 554. The inverter network540 includes inverters 542, 544, 546 and 548.

An input voltage VIN, the voltage across the pump capacitor Cpump of thecharge pump circuit 470, is applied to the noninverting input terminalof operational amplifier 510, which is configured in a negative feedbackloop having the inverting input terminal of the operational amplifier510 connected to a resistor RIN. As the voltage VIN is continuouslyapplied, the operational amplifier 510 eventually reaches a steady statecondition in which the signals applied to the noninverting and invertinginput terminals of operational amplifier 510 are equal. In this steadystate condition, the current of resistor RIN is substantially equal tothe input voltage divided by the resistance of resistor RIN. Thiscurrent is conducted through a MOS N-channel transistor (MN0) 526 to thecurrent mirror 520. The current mirror 520 includes P-channeltransistors (MP0) 522 and (MP4) 524.

Current from the current mirror 520 feeds the quadripole network 530which includes P-channel transistors (MP1) 534 and (MP2) 532 andN-channel transistors (MN1) 538 and (MN2) 536. The quadripole network530 is controlled by NOR gates 552 and 554, which have mutuallycomplementary output states, one gate having a logic 1 value and theother having a logic 0 value, to establish that only one transistor ofN-channel transistors (MP1) 534 and (MP2) 532 is conductive at one time.For example, when a logic 0 is applied to the gate of transistor (MP1)534, the transistor is conductive so that current conducting throughP-channel transistor (MP4) 524 charges capacitor C1. The logic 0 alsoappears at the gate of N-channel transistor (MN1) 538, making thetransistor nonconductive. When a logic 0 is applied to the gates oftransistors 534 and 538, a logic 1 is simultaneously applied to thegates of transistors 532 and 536 since the output signals of NOR gates552 and 554 are mutually complementary. Therefore, capacitor C2 isdischarging when capacitor C1 is charging. Capacitor C1 charges linearlytowards the threshold voltage of inverter 542. When the switchingthreshold of inverter 542 is exceeded, the logic signal of inverter 546goes high, charging capacitor CH1 and reinforcing the signal to inverter542. Positive feedback through capacitor CH1 ensures that the outputvoltage of inverter 546 goes essentially to the rail of the positivepower supply terminal VDD. A suitable voltage transition of inverter546, assures that the logic signal to NOR gate 552 has a range capableof crossing the threshold of NOR gate 552. As a logic 1 signal isapplied to NOR gate 552, the output logic signal of NOR gate 552 goeslow.

As capacitor C1 is charged, capacitor C2 is discharged. Thus, as thecharge ramp is applied to the input terminal of inverter 542, the inputterminal of inverter 544 is held at a logic 0 level and is not ramping.Therefore, the output logic state of inverter 548 is held at a logic 0level. Once the output logic level of inverter 546 starts to go high dueto the charging of capacitor C1, a logic 1 level is applied to the inputterminal of NOR gate 552, causing the output terminal of the NOR gate552 to transition to a logic 0 level. The output terminal of NOR gate552 is connected to the input terminal of NOR gate 554 so that two logic0 levels are applied to the input terminal of NOR gate 554, setting theoutput terminal of NOR gate 554 to a logic 1. This reinforces theoriginal logic 1 level from the output terminal of inverter 546. Thechange of state in the output logic level of NOR gate 552 to a logic 0and change of state in the output logic level of NOR gate 554 to a logic1 is fed back to input terminals of the quadripole network 530 viafeedback lines FB1 and FB2. Feedback line FB1 controls the gate ofP-channel transistor (MP2) 532 with a logic 0 level so that transistor(MP2) 532 becomes conductive. Thus capacitor C2 is then charged with thelinear ramp signal. As capacitor C2 is charged, the output condition ofNOR gate 554 is a logic 1, which is applied to the gates of N-channeltransistor (MN1) 538 and P-channel transistor (MP1) 534. Accordingly,P-channel transistor (MP1) 534 is turned off and N-channel transistor(MN1) 538 is turned on, discharging capacitor C1. As the voltage acrosscapacitor C1 decreases, the threshold of inverter 542 is crossed.Inventor 546 transitions to a logic 0, reinforcing the discharge ofcapacitor C1. NOR gates 552 and 554 are cross coupled and, thus, thelogic state is held until the output of inverter 548 transitions to alogic 1.

The same process occurs with respect to capacitor C2. When the charge oncapacitor C2 crosses the threshold of inverter 544, a logic 1 value isapplied to the NOR gate 554 in a repeating oscillatory process. Thus theVCO 480 forms an astable multivibrator in which the current to feed thetwo capacitors C1 and C2 alternately ramps in a linear manner to thethreshold voltage of inverters 542 and 544 respectively.

The period of oscillation of VCO 480 is the time for the current passingthrough transistor (MP4) 524 to charge the capacitors C1 and C2 to thethreshold voltage of inverters 542 and 544 respectively. A very precisetiming cycle having nearly a 50% duty cycle is achieved by matching ofcapacitors C1 and C2 since the same charging current is applied to bothcapacitors. The frequency of oscillation is set by selection of theresistance RIN and selection of the current mirror ratio of currentmirror 520.

The VCO 480 circuit also includes a fault detector 570 which includesNAND gate 578 and P-channel transistor (MP5) 572. In the absence of afault detector, a fault might occur in case of a logic 1 condition ofinverters 546 and 548 which causes application of logic 1 conditions toboth input terminals of NOR gates 552 and 554. Thus NOR gates 552 and554 simultaneously have a logic 0 condition so that both capacitors C1and C2 charge to a voltage greater than the threshold voltages ofinverters 542 and 544. Oscillation of the VCO 480 would therefore stop.

Fault detector 570 prevents such a fault condition by detecting asimultaneous logic 1 input logic level to the NOR gates 552 and 554. Theinput signals to NOR gates 552 and 554 are applied to the inputterminals of NAND gate 578 so that P-channel transistor 572 becomesconductive in case of simultaneous logic 1 levels. When P-channeltransistor 572 becomes conductive, it produces a signal on the line tothe gates of P-channel transistor (MP1) 534 and N-channel transistor(MN1) 538 causing capacitor C1 to discharge to restore an oscillatoryoperating condition.

The voltage-controlled oscillator (VCO) 480 has two input terminals, oneoutput terminal and two power supply terminals. The input terminalsinclude a VCO voltage input terminal VIN and a power down input terminalPD. The output terminal is a VCO frequency output terminal VCOOUT to thefrequency output line Fout shown in FIG. 2 which produces an outputfrequency signal having a range from approximately 4 kHz to 4 MHz. Thepower supply terminals include an analog positive supply terminal VDDand an analog negative power supply terminal VSS. VCO 480 produces anoutput frequency that is substantially monotonic relative to the inputvoltage at voltage input terminal VIN. VCO 480 produces an outputfrequency signal fout that drives an input frequency signal to thedivide-by-N circuit 496. A binary counter of the divide-by-N circuit496, in turn, drives an input signal to the decode logic 490. The binarycounter (divide by N) 496 and decode logic 490 generate digital controltiming signals INIT, HOLD, HOLDF, PUMPT, and PUMPF. Detaileddescriptions of the counter and decode logic are disclosed hereinafter.

Referring now to FIGS. 5(a) through 5(f), there is shown a schematicblock diagram of RC oscillator circuit 600 which improves low powerperformance. Low power RC oscillator 600, shown in FIG. 5(a) includes abias circuit 610, a ramp and hold circuit 630, a comparator 650, acharge pump 670, an oscillator 680 and a frequency counter 690. Incontrast to the embodiments shown in FIGS. 3 and 4, the ramp and holdcircuit 630 uses a bias circuit 610 rather than an operational amplifierto establish the current flowing through a resistor. The "hold" voltage,which is generated by the ramp and hold circuit 630, is applied to theinput terminal of a CMOS inverter. The switching threshold of the CMOSinverter is a gate-to-source voltage Vgs of a transistor. If thefrequency is low, the hold voltage exceeds Vgs, the comparator 650drives the charge pump 670 to produce a larger voltage at the inputterminal of the oscillator 680 which increases the oscillator frequency.If the frequency is high, the hold voltage decreases to a level belowVgs, the comparator 650 drives the charge pump 670 to produce a smallervoltage at the input terminal of the oscillator 680 which decreases theoscillator frequency.

Referring to FIG. 5(b), the bias circuit 610 functions in a manner whichis similar to that of bias circuit 410, shown in FIG. 2. In particular,bias circuit 610 has a bias structure 611 including P-channel MOStransistors (MPB1C) 612 and (MPB0C) 613 and N-channel MOS transistors(MB1C) 614, (MB0C) 615 and (MB0B) 616. Bias structure 611 generates avoltage across external resistor Rext, which is substantially equal tothe gate-to-source voltage V_(GS) of the N-channel MOS transistor (MB0B)616, as the N-channel MOS transistors (MB0B) 616 and (MB0C) 615 raisethe voltage two gate-to-source voltages from a ground reference sourceVSS and the N-channel MOS transistor (MB1C) 614 drops the voltage onevoltage V_(GS). A current mirror is formed by diode-connected P-channelMOS transistor (MPB1C) 612 and P-channel MOS transistor (MPB0C) 613. Thedrain current of MOS transistor 614 becomes Vgs/Rext. This drain currentis mirrored by P-channel MOS transistors (MPBIC) 612 and (MPB0C) 613,which, in turn, furnishes drain current to N-channel MOS transistors(MB0C) 615 and (MB0B) 616. MOS transistors (mpx1) 625, (mpx2) 626,(mnx0) 627, (mnx1) 628, and (mnx2) 629 supply a start-up current to thechain of P-channel MOS transistor (MPBIC) 612. The start-up currentgenerated at the drain of MOS transistor (mnx1) 628 is turned off whenthe bias voltage VGS exceeds the threshold of MOS transistor (mnx2) 629.

In addition to the transistors of bias structure 611 which furnish afunctionality which is similar to that of bias circuit 410, the biascircuit 610 also includes a common P-bias line P-channel MOS transistor(MPCOMP) 617, forming a source-drain path between the gate of P-channelMOS transistor (MPB1C) 612 and a P-bias line 620, and a bias capacitorCBIAS. The gate of the P-bias line P-channel transistor (MPCOMP) 617 isshown connected to a common drain connection of inverter P-channel MOStransistor 622 and inverter N-channel MOS transistor 623 of an inverter621. The inverter 621 furnishes a static potential that causesactivation of P-bias line P-channel transistor (MPCOMP) 617. In otherembodiments, the gate of P-bias line P-channel transistor (MPCOMP) 617is connected to other static potential sources such as the power supplysource VDD or the ground reference VSS. The P-bias line P-channeltransistor (MPCOMP) 617 is configured as half a transmission gate whichisolates the diode-connected P-channel MOS transistor (MPB1C) 612 fromother MOS transistors connected to the P-bias line 620, including aP-channel MOS transistor (MP1) 652 of comparator 650 and a P-channel MOStransistor (MP4) 602 shown in FIG. 5(a). The P-bias line P-channel MOStransistor (MPCOMP) 617 acts as a large-valued resistor, having aresistance which increases as the transistor length dimension (L) isincreased and width dimension (W) is decreased. Thus, P-bias lineP-channel MOS transistor (MPCOMP) 617 serves as a resistor between thegate and drain connection of P-channel MOS transistor (MPB1C) 612 andthe common gate connection of P-channel MOS transistor (MPB0C) 613 and aramp N-channel MOS transistor (MP1RAMP) 619. The bias capacitor CBIAS isconnected between the P-bias line 620 and the power supply source VDD.The common P-bias line P-channel MOS transistor (MPCOMP) 617 and biascapacitor CBIAS form a low-pass RC filter 618 which performs threefunctions.

First, the low-pass RC filter 618 increases the stability of the biasstructure 611 to counteract any parasitic capacitance that occurs acrossthe external resistor Rext. The external resistor Rext may have anexcessive amount of parasitic capacitance which forms a relaxationoscillator at some critical value of capacitance and tends to reduce thestability of the bias structure 611. Low-pass RC filter 618 suppressesoscillation of the bias structure 611.

Second, although a unity DC gain is an advantage of the bias circuit610, stability is further improved by reducing AC gain below unity.Therefore, the P-bias line 620 is a common gate connection among MOStransistors in the forward path of the bias circuit 610 and has the sameDC potential as the gate of the diode-connected P-channel MOS transistor(MPB1C) 612 but is attenuated with respect to AC characteristics due tothe resistance of common P-bias line P-channel MOS transistor (MPCOMP)617 and the capacitance of bias capacitor CBIAS. Thus, the AC gain ofthe bias circuit 610 is attenuated to improve stability as larger valuesof capacitance are placed across the external resistor Rext.

Third, the bias capacitor CBIAS furnishes a relatively large capacitancewhich serves as a noise reduction capacitor for stray noise that couplesonto the P-bias line 620, overpowering any parasitic or packagingcoupling capacitance with the larger bias capacitor CBIAS.

Referring again to FIG. 5(a), comparator 650 includes the P-channel MOStransistor (MP1) 652, an N-channel MOS transistor (MN1) 654, a firstinverter 656 and a second inverter 658. P-channel MOS transistor (MP1)652 has a source connected to the power supply source VDD, a drainconnected to a drain node cmp0 and a gate controlled by the P-bias line620. N-channel MOS transistor (MN1) 654 has a source connected to theground reference VSS, a drain connected to the drain node cmp0 and agate controlled by the ramp and hold circuit 630. A signal on the drainnode cmp0 is applied to the input terminal of the first inverter 656 andpasses through second inverter 658. The two inverters 656 and 658 supplymore gain to comparator 650. P-channel MOS transistor (MP1) 652 andP-channel transistors (MPB1C) 612 and (MPB0C) 613 of bias circuit 610are all matched, having current mirror ratios of 1:1.

Referring now to FIG. 5(c), RC oscillator 600 utilizes a switchedcapacitor charge pump 670 which includes two transfer gates 672 and 674and two capacitors--a charge pump capacitor Cpump and a output capacitorC_(OUT). First transfer gate 672 includes P-channel MOS transistor 676and an N-channel MOS transistor 677. P-channel MOS transistor 676 has asource connected to an input signal from comparator 650, a drainconnected to the second transfer gate 674 and a gate controlled by apump true PUMPT signal. N-channel MOS transistor 677 has a source todrain pathway connected across P-channel transistor 676 and a gatecontrolled by a pump false PUMPF signal. The charge pump capacitor Cpumpis connected on one side between the first and second transfer gates 672and 674 and connected on the other side to the power supply source VDD.Second transfer gate 674 includes P-channel MOS transistor 678 and anN-channel MOS transistor 679. P-channel MOS transistor 678 has a sourceconnected to the first transfer gate 672, a drain supplying the chargepump output signal CPOUT and a gate controlled by a pump false PUMPFsignal. N-channel MOS transistor 679 has a source to drain pathwayconnected across P-channel transistor 678 and a gate controlled by apump true PUMPT signal. The output capacitor C_(OUT) is connected on oneside to the charge pump output line CPOUT and connected on the otherside to the power supply source VDD. In an alternative embodiment,capacitors Cpump and C_(OUT) are connected to the ground reference VSSrather than to the power supply reference Vdd.

The first transfer gate 672 charges the charge pump capacitor Cpump toeither VDD or VSS under control of the control signal output from thesecond inverter 658 of comparator 650. Charge pump capacitor Cpump ischarged substantially to the rail of either VDD or VSS due to the highgain supplied by inverters 656 and 658. Switched capacitor charge pump670 receives the output voltage of comparator 650 and precharges thepump capacitor Cpump close to VDD or VSS voltage during a first pumpsignal phase when PUMPF signal is high and PUMPT signal is low. Chargepump 670 receives the PUMPF and PUMPT signals from a frequency counter690. In a second pump signal phase, PUMPF is low and PUMPT is high andthe logic 1 or logic 0 output voltage of comparator 650 is disconnectedfrom charge pump capacitor Cpump while the second transfer gate 674 isreconnected and the charge from charge pump capacitor Cpump is dumped tooutput capacitor C_(OUT) to set the charge pump voltage to either a highlevel VDD or a low level VSS. Output capacitor C_(OUT) is a largercapacitor than charge pump capacitor Cpump. Output capacitor C_(OUT) ischarged to a voltage which is applied to drive oscillator 680. Thus asmall quantum step of voltage, the step size being determined by thesize ratio of capacitor Cpump to capacitor C_(OUT). For example, in oneembodiment the Cpump capacitor has a capacitance of 1% of the chargepump output capacitance Cout. It is advantageous that the quantum stepsize is determined by the ratio of capacitances. In the charge pumpcircuit 470 shown in FIG. 2 the quantum step is set by the drain currentof charge pump current source P-channel MOS transistor (P9) 471, whichdepends on the dimensions of charge pump transistor (P9) 471, aparameter which is more difficult to control than capacitor sizing.

This transfer gate implementation permits the RC oscillator 600 tooperate at a very low power supply voltage because the transfer gates672 and 674 use less voltage to switch charge than does the differentialswitch in charge pump 470 to make pump true and pump false P-channel MOStransistors 676 and 678 turn on and off.

Transistors 676, 677, 678 and 679 are small transistors because they areused for merely transferring charge from capacitor Cpump to capacitorC_(OUT) and not for supplying gain. Typically, the first pump signalphase exists much longer than the second pump signal phase (for example,31 to 1) so that most of the cycle is used for precharging the chargepump capacitor Cpump.

The switched capacitor charge pump 670 thus is a capacitive voltagedivider from the power supply source VDD to the ground reference VSS.Switched capacitor charge pump 670 is preferential for high temperatureoperation because leakage arises only with respect to twotransistors--the transistors that form the second transfer gate 674.Also, small transistors are utilized and thus junction leakage at hightemperatures is correspondingly less. In a charge pump embodiment suchas charge pump circuit 470 shown in FIG. 2, which does not utilizetransfer gates, transistors are necessarily larger and leakage of thetransistors causes drift to occur on the pump voltage stored on thecharge pump capacitor Cpump. This voltage drift produces frequencychanges during the ramp interval, introducing error in theself-calibration process.

Referring again to FIG. 5(a), the signal on the charge pump output lineCPOUT is applied to the gate of P-channel MOS transistor (MP3) 604 tocontrol the current passing through the source to drain pathway frompower supply source VDD to a ramp input signal IRAMP of oscillator 680.Referring to FIG. 5(d), a schematic circuit diagram of an oscillator 680is shown. Oscillator 680 is similar to the VCO 480 shown in FIG. 4except that the oscillator 680 is generally simplified by removing avoltage-to-current converter and a current mirror, neither of which isutilized since the oscillator 680 receives a current directly fromP-channel MOS transistor (MP3) 604. In accordance with the operation ofthe switched capacitor charge pump circuit 670 described hereinbeforerelating to FIG. 5(c), the current passed to oscillator 680 throughP-channel MOS transistor (MP3) 604 is adjusted by the switched capacitorcharge pump circuit 670 to produce the amount of current for driving theoscillator 680 to oscillate at a selected frequency. Elimination of thevoltage-to-current converter and current mirror results in a nonlinearbut monotonic transfer characteristic between the charge pump 670 andthe frequency of the oscillator 680. However, this nonlinearcharacteristic does not impair performance if the capacitor ratio ofC_(pump) to Cout is sufficiently small.

The ramp input signal IRAMP of oscillator 680 is also supplied by acurrent passing through the source to drain pathway of P-channel MOStransistor (MP4) 602 from power supply source VDD under control of theP-bias line 620 from the bias circuit 610. P-channel MOS transistor(MP4) 602 supplies a relatively small amount of current to activate theoscillator 680 when power is first applied to the RC oscillator 600.Transistor 602 is necessary to guarantee a minimum frequency, because ifthe voltage on CPOUT is close to VDD, the frequency of oscillator 680 iszero. Then the overall circuit remains in lockup.

Referring to FIG. 5(e), there is shown a current-steering ramp and holdcircuit 630 which is substantially equivalent in structure and functionto the ramp and hold circuit shown in FIG. 2. The ramp and hold circuit630 advantageously extends over only a small area.

In FIG. 5(f), frequency counter 690 is a 16-count nonsynchronous(ripple) counter which includes two input inverters 691, four D-typeflip-flops 692, 693, 694 and 695, a four-input NOR gate 696, and fiveoutput inverters 697.

An input clock signal on clock signal line CLKIN is applied from theoscillator 680 sequentially through the two input inverters 691 todouble buffer the clock signal, thereby squaring the edges of thesignal. The squared clock signal is applied to a C-input terminal of afirst D flip-flop 692. First D flip-flop 692 also has a Q-outputterminal and a D-input terminal which is connected to the Q-outputterminal in a typical toggle flip-flop configuration so that on everypositive edge of the squared clock signal, the first D flip-flop 692changes state. Each succeeding D flip-flop 693, 694 and then 695 issimilarly interconnected so that the C-input terminal is connected tothe Q-output terminal of the immediately preceding D flip-flop and the Dinput-terminal and Q-output terminal of each D flip-flop areinterconnected. Configured in this manner, the frequency counter 690generates a first stage clock signal at a frequency of half the inputclock signal frequency, a second stage clock signal at a frequency ofone-quarter the input clock signal frequency, a third stage clock signalat a frequency of one-eighth the input clock signal frequency and afourth stage clock signal at a frequency of one-sixteenth the inputclock signal frequency. The complementary Q and Q output terminals ofthe third D flip-flop 694 are connected to output inverters 697 torespectively generate a ramp false signal on RAMPF line and a ramp truesignal on RAMP line. The Q output terminal of the fourth D flip-flop 695is connected to an output inverter 697 to generate a capacitor dischargesignal on RAMP0 line. NOR gate 696 receives an output signal from eachof the D flip-flops 692, 693, 694 and 695. In the embodiment illustratedin FIG. 5(f), the Q-output terminals of D flip-flops 692, 693 and 694and the Q-output terminal of D flip-flop 695 are applied to thefour-input NOR gate 696. The connection of D flip-flop output terminalsis generally arbitrary so that any selected state of the four Dflip-flops may be used to activate the pump true signal on PUMPT lineand the pump signal on PUMPF line. The output line of the four-input NORgate 696 is applied to a first output inverter 697 to generate the pumpfalse signal on PUMPF line. The pump false signal on the PUMPF line isapplied to a second output inverter 697 to generate the pump true signalon PUMPT line. The number of D flip-flops in the counter determines theduty cycle of the pump true and pump false signals so that an increasednumber of D flip-flops furnishes a shorter pump interval. A short pumpsignal duty cycle allows better resolution of parameter measuring andreading times so that the pump capacitor is not charging while it isread. Low resolution of measuring and reading cause a risk of oscillatorinstability due to operation in a continuous time feedback loop.

In general, the number of D flip-flops utilized in a frequency counteris determined according to timing constraints of particular circuitelement embodiments of an RC oscillator. Various RC oscillatorembodiments include different combinations of digital and analogelements. Typically, analog operations are performed at low frequency toimprove accuracy and digital operations are performed at a highfrequency to extend operation of the loop to high frequencies.Additional D flip-flops are used to increase precision of timinginterval resolution. Although, the frequency counter 690 is depicted asa non-synchronous (ripple) counter other suitable frequency counterembodiments employ a synchronous counter.

Referring to FIGS. 6(a) through 6(g), there is shown a schematic blockdiagram of a digitally-tuned oscillator circuit 702, which includes anRC oscillator circuit 700 and a capacitor digital to analog converter(DAC) 704.

The capacitor DAC 704 shown in FIG. 6(b) includes five digital datainput lines D1-D5, five pairs of serially-connected inverters 705, fiveswitches 706 receiving signals from the inverter pairs and a binary armyof capacitors 708. Each digital data input line is connected to a pairof serially-connected inverters so that each of the digital data inputlines D1-D5 is double buffered. Complementary signals for each digitaldata input line are furnished at a "true" signal output terminalconnected following the second inverter of the pair of inverters and ata "false" signal output terminal connected following the first inverterof the pair. A first pair of serially-connected inverters 705 appliescomplementary binary control signals to a first switch which connects afirst capacitor array of one capacitor unit between a DAC outputterminal DACOUT and a ground reference VSS. A second pair ofserially-connected inverters 705 applies complementary binary controlsignals to a second switch which connects a second capacitor array oftwo capacitor units, between the DAC output terminal DACOUT and groundreference VSS. Similarly, a third pair of inverters 705 connects a thirdarray of four capacitor units, a fourth pair of inverters connects afourth array of eight capacitor units, and a fifth pair of invertersconnects a fifth array of sixteen capacitor units. In addition anadditional capacitor CMIN is connected between VSS and DACOUT to furnisha minimum capacitance when no switches are closed. Capacitor CMIN setsthe maximum frequency of the digitally-tuned oscillator 702 andadditional capacitors 708 are switched into the capacitor DAC circuit704 by switches 706 to increase the capacitance and decrease theoperating frequency of the digitally-tuned oscillator 702. Each switchincludes a P-channel transistor and an N-channel transistor connected ona transfer gate.

RC oscillator circuit 700, shown in FIG. 6(c) includes a low voltagebias circuit 710, a ramp and hold circuit 730, a comparator 750, acharge pump 670, an oscillator 680 and a frequency counter 790. The lowvoltage bias circuit 710 is a special low voltage bias circuit whichgenerates a bias current in a substantially similar manner to that ofthe bias circuit 610 shown in FIG. 5(b) and makes this bias currentsensitive to an external resistor Rext. The bias circuit 710 providestwo bias voltages, a CMP bias for the comparative and a P-bias for allother functions. The transfer-gate based ramp and hold circuit 730differs from the current-steering ramp and hold circuit 630 shown inFIG. 5(e) and utilizes full transfer gates, which operate with lesspower supply voltage than a ramp and hold using a differential currentswitch. This transfer gate implementation reduces some of the errorintroduced by charge injection in the circuit. The charge pump 670,oscillator 680 and P-channel MOS transistors (MP4) 602 and (MP3) 604 ofthe RC oscillator circuit 600 of FIGS. 5(a) through 5(f) aresufficiently low-voltage circuits without modification and, thus areduplicated in the digitally-tuned oscillator 702.

Referring to FIG. 6(d), the low voltage bias circuit 710 is similar tothe bias circuit 610 in function and structure but includesmodifications to improve performance in low voltage operations. AP-channel MOS transistor (MP1) 711 is a diode-connected field effecttransistor (FET) and thus typically produces a non-linearcurrent/voltage characteristic. Transistor (MP1) 711 has long gatelength and a narrow gate width, causing a reduction in the amount ofcurrent produced so that a small current is generated for a voltageapplied to the gate. Thus, transistor (MP1) 711 functions as a resistorbut advantageously does not require the large area of a resistor. Thesmall current generated by the P-channel MOS transistor (MP1) 711 passesthrough a transfer gate 712 to charge the drain capacitance of anN-channel MOS transistor (MN1) 713 and the gate to source capacitance ofan N-channel MOS transistor (MN2) 714.

N-channel MOS transistor (MN1) 713 has a gate terminal that is connectedto ground reference VSS through a resistor RCMP and therefore isinitially turned off. As the drain capacitance of N-channel MOStransistor (MN1) 713 is charged, the transistor remains off but thedrain voltage increases. Similarly, as the gate to source capacitance ofN-channel MOS transistor (MN2) 714 is charged, the transistor turns onand the gate to source voltage increases so that transistor (MN2) 714forms a source follower which raises the voltage on resistor RCMP. Thevoltage across resistor RCMP increases until an equilibrium conditionarises in which the drain current on transistor (MN1) 713 is equal tothe drain current of P-channel MOS transistor (MP1) 711. An equilibriumcondition is achieved since any current imbalance continues to charge ordischarge the gate of MOS device (MN2) 714 until equilibrium occurs.

Thus, a steady state DC voltage is formed across resistor RCMP having amagnitude substantially equal to the gate to source voltage of N-channelMOS transistor (MN1) 713 that arises when the drain current fromP-channel MOS transistor (MP1) 711 passes through the source to drainpathway of N-channel MOS transistor (MN1) 713. The magnitude of this DCvoltage is typically above threshold of the transistor (MN1) 713.

When the steady-state voltage across resistor RCMP becomes greater thanthe threshold voltage of transistor (MN1) 713, then a current passesthrough resistor RCMP. That current necessarily arises from a P-channelMOS transistor (MP2) 715 which provides the only DC current path toresistor RCMP. The magnitude of the current passing through resistorRCMP is determined by the threshold voltage of transistor (MN1) 713 andthe amount of gate drive sufficient to sink the current from P-channelMOS transistor (MP1) 711. Thus the voltage across resistor RCMP is equalto the gate to source voltage of transistor (MN1) 713 and the currentthrough resistor RCMP is passed to transistor (MP2) 715. A currentmirror is formed by a P-channel MOS transistor (MP3) 716 and transistor(MP2) 715.

An arrangement of transistors including P-channel MOS transistors (MP3)716 and (MP4) 717 and N-channel MOS transistors (MN3) 718 and (MN4) 719is substantially the same in structure and function as the transistorstructure of P-channel MOS transistors (MP1) 711 and (MP2) 715 andN-channel MOS transistors (MN1) 713 and (MN2) 714 except that the sourceof N-channel MOS transistor (MN2) 714 is connected to on-chip resistorRCMP while the source of N-channel MOS transistor (MN4) 719 is connectedto external resistor Rext which sets the frequency of the RC oscillator700.

N-channel MOS transistor (MN3) 718 operates in a steady-state insubstantially the same manner as transistor (MN1) 713 so that the gateto source voltage of N-channel MOS transistor (MN3) 718 reaches amagnitude, typically slightly above threshold, which is sufficient toactivate N-channel MOS transistor (MN3) 718 and to sink the currentcoming from P-channel MOS transistor (MP3) 716. A steady-state currentflows through P-channel MOS transistor (MP3) 716 and N-channel MOStransistor (MN3) 718 also in a self-biasing arrangement. The gatevoltage of N-channel MOS transistor (MN4) 719 continues to charge untilthe drain current of N-channel MOS transistor (MN3) 718 is substantiallyequal to the drain current of P-channel MOS transistor (MP3) 716. Thevoltage across external resistor Rext is slightly greater than thethreshold of N-channel MOS transistor (MN3) 718. The voltage acrossexternal resistor Rext is equal to the gate to source voltage oftransistor (MN3) 718 and the current through external resistor Rext ispassed to transistor (MP4) 717. A current mirror is formed by aP-channel MOS transistor (MP5) 720 and transistor (MP4) 717.

P-channel MOS transistor (MP5) 720 generates a ramp current IRAMP whichis proportional to the current passing through P-channel MOS transistor(MP4) 717. The proportionality ratio of the current depends on the sizesof the transistors (MP4) 717 and (MP5) 720. In one embodiment, the gatewidth of transistor (MP4) 717 is 160 microns and the gate width oftransistor (MP5) 720 is 20, so that the current mirror is an 8:1attenuating current mirror and the ramp current IRAMP is divided by 8.Ramp current IRAMP is connected to the ramp and hold circuit 730, whichis modified for low voltage operation as compared to ramp and holdcircuits described hereinbefore. Low voltage bias circuit 710 alsogenerates a comparator bias signal on a CMPBIAS line, which is connectedto the comparator 750. The comparator bias signal is supplied at a nodeconnecting the common drain terminals of P-channel MOS transistor (MP2)715 and N-channel MOS transistor (MN2) 714.

Low voltage bias circuit 710 is inherently lower in operating voltagethan the bias circuit 610 shown in FIG. 5(b). However, this improvementis achieved at the cost of duplicating some circuitry. The low operatingvoltage is useful in battery-powered laptop computer applications wherea very low current draw is advantageous. The low operating voltage isalso useful in systems using submicron CMOS integrated circuits whichmust use supply voltage of 3 V or less to avoid hot carrier degradation.

Referring to FIG. 6(e), there is shown a ramp and hold circuit 730 whichis similar to the ramp and hold circuit shown in FIG. 5(e) except thatramp and hold circuit 730 includes additional transistors for improvedperformance in low-voltage applications. Ramp and hold circuit 730includes a ramp and hold differential switch 732 and a ramp and holdN-channel transistor (MNRST) 736. The ramp and hold differential switch732 includes a first transfer gate structure 733 having a first transfergate P-channel MOS transistor (MP1) 735 and a first transfer gateN-channel MOS transistor (MN1) 737, and a second transfer gate structure734 having a second transfer gate P-channel MOS transistor (MP2) 738 anda second transfer gate N-channel MOS transistor (MN2) 739. First andsecond transfer gate N-channel MOS transistors (MN1) 737 and (MN2) 739are respectively connected across P-channel MOS transistors (MP1) 735and (MP2) 738. The gates of first transfer gate P-channel MOS transistor(MP1) 735 and second transfer gate N-channel MOS transistor (MN2) 739are connected to a ramp true signal line RAMPT. The gates of firsttransfer gate N-channel MOS transistor (MN1) 737 and second transfergate P-channel MOS transistor (MP2) 738 are connected to a ramp falsesignal line RAMPF.

The two P-channel transistors (MP1) 735 and (MP2) 738 operate asswitches for controlling conduction of a ramp current IIN from the biascircuit 710, which acts as a constant current source. Ramp true signalline RAMP and ramp false signal line RAMPF are applied to the gateterminals of the transistors 735, 737, 738 and 739 to steer the currentfrom the bias circuit 710 through the first and second transfer gates733 and 734.

The first and second transfer gates 733 and 734 improve RC oscillator700 performance in low voltage applications, in which the voltage acrossthe source to drain pathway of P-channel transistors (MP1) 735 and (MP2)738 is small, and for further reduced voltages, a nonzerosource-to-drain voltage drop across the transistors 735 and 738 forms.Without the transfer gates, at very low voltages the drain voltage ofcurrent source transistor (MP5) 720 supplying ramp current IRAMP is nolonger less than the gate voltage of that transistor. As such, thecurrent source transistor (MP5) 720 in the bias circuit 710 no longeroperates in saturation and begins ohmic region operation, substantiallyimpairing performance of the RC oscillator 700. To avoid this condition,the voltage drop across the P-channel transistors (MP1) 735 and (MP2)738 is reduced to a minimum value through the operation of the transfergate structures 732 and 734 to steer the current from the bias circuit710 rather than driving the current through the operation of P-channeltransistors alone.

Referring to FIG. 6(f), a comparator 750 includes a P-channel MOStransistor (MP1) 752 and an N-channel MOS transistor (MN1) 754, whichare connected at their drain terminals between the power supply sourceVDD and a ground reference VSS. The gate of the P-channel MOS transistor(MP1) 752 is controlled by a comparator bias signal on CMPBIAS line fromthe low voltage bias circuit 710. The drain terminals of the transistors(MP1) 752 and (MN1) 754 are connected to a first inverter 756 which isfurther connected to a second inverter 758 to generate a comparator truesignal on a CMPT line and a complementary comparator false signal on aCMPF line.

The switching threshold voltage of transistors (MN1) 754 and (MP1) 752is set by the comparator bias current on the CMPBIAS line from the lowvoltage bias circuit 710. In low voltage bias circuit 710, the switchingthreshold of N-channel MOS transistor (MN3) 718 and P-channel MOStransistor (MP3) 716 is a voltage which is sufficient to sink thecurrent coming from P-channel MOS transistor (MP3) 716. The drain oftransistor (MN3) 718 is connected to the drain of transistor (MP3) 716and the gate terminal of transistor (MP3) 716 connected to the CMPBIASline. As such, N-channel MOS transistor (MN3) 718 has a gate to sourcevoltage that is established by the current across resistor RCMP that isdriving the current mirror of P-channel transistors (MP2) 715 and (MP3)716. That same bias current also forms the current mirror reference,P-channel MOS transistor (MP1) 752, in the comparator 750. As such theswitching threshold of the comparator 750 is nearly equal to the gate tosource voltage of transistor (MN3) 718 in the bias circuit 710.

By ratioing, using multiple devices in the bias circuit 710, the currentdrawn by the comparator 750 is significantly less than the current oflow voltage bias circuit 710 due to the ratioing of the current mirrorsdiscussed with reference to the operation of the low voltage biascircuit 710.

The external resistor Rext is implemented in various resistances tospecify an operating frequency between a minimum and maximum operatingfrequency for various applications of the RC oscillator 700. Themagnitude of the current passing through the external resistor Rextdepends on the implemented resistance of external resistor Rext. The lowvoltage bias circuit 710 provides flexibility in the current flowingthrough the external resistor Rext for determining the frequency ofoscillation. However, low voltage bias circuit 710 also utilizes theresistor RCMP to set up a small bias current to drive all of the othercircuits in digitally-tuned oscillator 702, allowing operation at a verylow current and a very low voltage.

In FIG. 6(g), frequency counter 790 is an 8-count nonsynchronous(ripple) counter which includes two input inverters 791, three D-typeflip-flops 792, 793 and 794, two two-input NOR gates 796, and six outputinverters 697. Although the frequency counter 790 is shown as an 8-countcounter, other embodiments may utilize other numbers of counts such as4, 12, 16 and other multiples of four to improve oscillator performanceat different oscillator frequencies.

The two two-input NOR gates each have only two input terminals for lowvoltage operation. The number of input terminals on any one logic gateis set to a minimum so that the circuit operates at a lower voltage.Thus, in any position at which a multiple-input NOR gate may beimplemented, multiple two-input NOR gates are substituted to reduce theoperating voltage specification of the frequency counter 790.

Frequency counter 790 is otherwise similar to the frequency counter 690shown in FIG. 5(f), generating the same output signals. For example, acapacitor discharge signal on RAMP0 line is the inverse of the falseoutput of the last stage D flip-flop 794 and the ramp false signal onRAMPF line and the ramp true signal on RAMPT line are bufferedcomplementary outputs of the penultimate stage D flip-flop 793.

Referring to FIG. 7(a), there is shown a transistor-level schematicdiagram of a clocked comparator circuit 1300 which has a quick responsefollowing a clock signal edge. In various embodiments of an RCoscillator, the clocked comparator circuit 1300 may be substituted forcomparators such as comparator 650 shown in FIG. 5(a) and comparator 750shown in FIGS. 6(c) and 6(f).

Clocked comparator 1300 is a fully differential comparator having both apositive input terminal and a negative input terminal. However, invarious embodiments clocked comparator 1300 is suitable forimplementation in any application. For example, clocked comparator 1300is used as a single-input comparator simply by tying either the positiveinput terminal or the negative input terminal to a reference voltageterminal. The reference terminal to which the input terminal is tied andthe polarity of the input terminal tied to the reference terminal aredetermined by the desired polarity of the output signal of thecomparator 1300.

The clocked comparator 1300 is controlled using two control signals froman external frequency counter. One control signal is a clock signalwhich activates the comparator 1300. A second control signal is a zerosignal which generates a timing phase that precedes the clock signal.

Clocked comparator 1300 includes a first inverter stage 1310, a secondinverter stage 1320 and a third inverter stage 1330. The first inverterstage 1310 includes a P-channel MOS transistor (MP1) 1312 and anN-channel MOS transistor (MN1) 1314, each having a source to drainpathway connected in series between the power supply terminal VDD andthe ground reference terminal VSS. P-channel MOS transistor (MP1) 1312has a gate connected to the pbias line. The second inverter stage 1320includes a P-channel MOS transistor (MP2) 1322 and an N-channel MOStransistor (MN2) 1324 each having a source to drain pathway connected inseries between the power supply terminal VDD and the ground referenceterminal VSS. P-channel MOS transistor (MP2) 1322 has a gate connectedto the pbias line. N-channel MOS transistor (MN2) 1324 has a gateconnected to a node connecting the drain terminals of transistors (MP1)1312 and (MN1) 1314. The third inverter stage 1330 includes a P-channelMOS transistor (MP3) 1332 and an N-channel MOS transistor (MN3) 1334each having a source to drain pathway connected in series between thepower supply terminal VDD and the ground reference terminal VSS. BothP-channel MOS transistor (MP3) 1332 and N-channel MOS transistor (MN3)1334 have gates connected to the node connecting the drain terminals oftransistors (MP2) 1322 and (MN2) 1324. An output terminal OUT isconnected to a node between the drain terminals of transistors (MP3)1332 and (MN3) 1334.

A negative differential input terminal NEG is connected to the inputcapacitor Ccmp 1308 by a first transfer gate switch (SW1) 1302. Apositive differential input terminal POS is connected to capacitor Ccmp1308 by a second transfer gate switch (SW0) 1306. The positive POS andnegative NEG differential input terminals of clocked comparator 1300 areswitchable by switching the polarity of the clock and clock signals ofthe transfer gate switches (SW1) 1302 and (SW0) 1306. A zero phasecontrol terminal ZERO is connected to a first control terminal of secondtransfer gate switch (SW0) 1306 and is connected to an inverter 1305 tofurnish an inverted zero signal to a second control terminal of secondtransfer gate switch (SW0) 1306. The output terminal of capacitor Ccmp1308 is connected to the gate of N-channel transistor (MN1) 1314. Athird switch (SW2) 1304, when activated, provides a conductive pathbetween the gate and drain of N-channel transistor (MN1) 1314.

Referring to the timing diagram shown in FIG. 7(b), operation of theclocked comparator 1300 is described. In timing phase TP1, the signal onthe zero phase control terminal ZERO is a logic 0, second transfer gateswitch (SW0) 1306 is open so that the positive differential inputterminal POS is isolated from the rest of the clocked comparator 1300.The clock and clock signals to the transfer gate switches (SW1) 1302 and(SW2) 1304 are configured so that transfer gate switch (SW1) 1302 isopen and transfer gate switch (SW2) 1304, which is always complementaryto transfer gate switch (SW1) 1302, is closed. In this configurationN-channel MOS transistor (MN1) 1314 is diode-connected so that anycurrent that is mirrored from transistor (MP1) 1312 operates toself-bias transistor (MN1) 1314 to a level very close to the switchingthreshold voltage of the first invertor stage 1310 transistors (MP1)1312 and (MN1) 1314. This switching threshold voltage is the same as thegate to source voltage of N-channel MOS transistor (MN1) 1314.Furthermore, the gate to source voltage V_(GSN1) of N-channel MOStransistor (MN1) 1314 is essentially the same as the switching thresholdvoltage of second inverter stage 1320 transistors (MP2) 1322 and (MN2)1324. Thus in timing phase TP1, the first and second inverter stages1310 and 1320 have essentially equivalent operating conditions, havingessentially the same switching threshold voltage. However, the secondinverter stage 1320 has a relatively high gain while the first inverterstage 1310 has a small gain.

In timing phase TP2, the signal on the zero phase control terminal ZEROgoes to a logic 1, causing inverter 1308 to have a logic 0 inverted zerophase signal. The logic 1 zero phase control signal ZERO and logic 0inverted zero phase control applied to second transfer gate switch (SW0)1306 close the second transfer gate switch (SW0) 1306, connecting thepositive differential input at terminal POS to the gate of N-channel MOStransistor (MN1) 1314 and precharging the capacitor Ccmp.

In timing phase TP3, the clock and clock signals to the transfer gateswitches (SW1) 1302 and (SW2) 1304 are switched so that transfer gateswitch (SW1) 1302 is closed and transfer gate switch (SW2) 1304 isopened. The precharged capacitor Ccmp applies a voltage to the gate ofN-channel MOS transistor (MN1) 1314 so that the gate to source voltageV_(GSN1) of N-channel MOS transistor (MN1) 1314 substantially matchesthe switching threshold of the first and second inverter stages 1310 and1320.

In timing phase TP4, the zero signal is changed to open the secondtransfer gate switch (SW0) 1306. With the first transfer gate switch(SW1) 1302 closed and the third transfer gate switch (SW2) 1304 open,the first inverter stage 1310 is in a condition to switch unless thesignal applied to the negative differential input terminal NEG preciselymatches the voltage on the capacitor Ccmp. A nearly instantaneousmovement, either high or low, of the drain voltage of N-channel MOStransistor (MN1) 1314 results from this condition. The direction of thedrain voltage movement depends on the balance of voltages applied to thegate of N-channel MOS transistor (MN1).

Accordingly, any potential difference between the signals on thepositive and negative differential input terminals POS and NEG causesthe bias point of N-channel MOS transistor (MN1) 1314 to change from itsnatural bias point, causing the first inverter stage 1310, then thesecond inverter stage 1320 and then the third inverter stage 1330 toswitch.

Three inverter stages 1310, 1320 and 1330 are included in the clockedcomparator circuit 1300. Each of the three stages has a gain in therange of approximately ten to fifty. Incorporation of three gain stagesadvantageously furnishes an exponential increase in gain for the circuit1300. For example, for a gain of ten for each stage, the overall gain is10 to the third power or 1000. For a gain of fifty for each stage, theoverall gain is 50 to the third power or 125,000.

The clocked comparator circuit 1300 advantageously responds extremelyquickly after invoking a clock edge. This quick response results becausethe drain voltage of N-channel MOS transistor (MN1) 1314 is extremelyclose to the switching threshold of the first and second inverter stages1310 and 1320. As a result, a very small change in the input signal tothe comparator circuit 1300, for example a fraction of a millivolt,causes the entire circuit to switch.

Advantageously, the clocked comparator 1300 is self-calibrating and doesnot have an input offset voltage. Accordingly, the clocked comparator1300 is used in some embodiments for extremely low bias voltages.

The clocked comparator 1300 has no offset voltage because only a singletransistor, N-channel MOS transistor (MN1) 1314 is used for comparisonof input voltages. In contrast, other comparators compare the thresholdvoltage of one transistor to the threshold voltage of a secondtransistor.

FIGS. 8(a) and 8(b) depict a highpass RC filter 1410 and a highpassswitched capacitor filter 1460, respectively. A switched capacitorfilter is advantageous because it provides a very precise pole for lowpass filters and high pass filters, which is based on the clockfrequency and the on-chip capacitor ratio. The pole of a typical RCfilter resides at a frequency of 1/RC. The pole of a switched capacitorfilter occurs at a frequency equal to the clock frequency times theratio of two capacitors, f*(C₂ /C₁). Because the pole of a switchedcapacitor filter is determined by a ratio of capacitances, positioningof the pole is process independent. The oxide thickness of an integratedcircuit is substantially constant throughout the integrated circuit chipso that the oxide thickness is the same for both capacitors. Althoughthe location of a filter pole is process independent, the location issensitive to the clock frequency of a timing signal that controls theswitch of the switched capacitor filter.

The circuit equation of the highpass RC filter 1410 is, as follows:##EQU1##

The circuit equation of the highpass switched capacitor filter 1460 is,as follows: ##EQU2##

FIGS. 9(a) and 9(b) depict a lowpass RC filter 1510 and a lowpassswitched capacitor filter 1560, respectively. The circuit equation ofthe lowpass RC filter 1510 is, as follows: ##EQU3##

The circuit equation of the lowpass switched capacitor filter 1560 is,as follows: ##EQU4##

Referring to FIG. 10, there is depicted a multiple stage tracking filter1600 which includes a plurality N of switched capacitor filter stages1620, 1630, 1640 and others (not shown). Conventional switched capacitorfilters utilize a crystal oscillator to precisely set positions of thepoles of the plurality of filters. The poles are placed precisely inselected positions by selecting the relationships of the capacitance ofthe two capacitors in a filter and by the timing frequency of thecircuit.

FIG. 10 illustrates a multiple stage tracking filter using a pluralityof filter stages using switched capacitor filters. The filters aredriven by a self-calibrating RC oscillator 1610 rather than a crystaloscillator. Utilization of the self-calibrating RC oscillator 1610furnishes a capability to provide a variable frequency, rather than thefixed frequency of a crystal oscillator or a fixed frequency fromanother type of signal source.

The multiple stage tracking filter 1600 includes a self-calibrating RCoscillator 1610 and a variable resistor R and capacitor C that aretunable so that all the filter elements track the frequency of operationof the RC oscillator 1610. The multiple stage tracking filter 1600includes a cascaded plurality of filter elements, for example filterelements 1620, 1630 and 1640, each of which is tuned by theself-calibrating RC oscillator 1610. The cascaded filter elementsreceive an input signal V_(IN) through an anti-aliasing filter (AAF)1650. The resistor R and capacitor C respectively are functionally andstructurally analogous to the resistor Rosc and a capacitor Cosc shownin FIGS. 1 and 2. Thus, each of the filter stages of the multiple stagetracking filter 1600 becomes an RC filter element, each having a poleposition that is based on the one resistor R that is varied at the inputof the RC oscillator 1610. Thus, the filter characteristics of allfilter elements of the multiple stage tracking filter 1600 are changedsynchronously and uniformly in a selected manner. For example, if anarrow band, bandpass filter centered about a selected frequency isimplemented and a similar filter having-a different center frequency isdesired, the resistor R is changed, thereby moving all filter elementssimultaneously with proportionate scaling to a new frequency.

The description of certain embodiments of this invention is intended tobe illustrative and not limiting. Numerous other embodiments will beapparent to those skilled in the art, all of which are included withinthe broad scope of this invention. Specific illustrative embodiments ofa multiple stage tracking filter in accordance with the inventioninclude various CMOS implementations. Other technology embodimentsincluding BiCMOS, bipolar, gallium arsenide (GaAs) and hybridembodiments are also within the scope of the invention. In some of theseembodiments, the frequency operation of the multiple stage trackingfilter is extended to 10 GHz or higher. Furthermore, in otherembodiments, low voltage operation of an RC oscillator is obtained usinga 2.5 V to 3.5 V submicron CMOS technology configuration.

APPENDIX

"Physics of Semiconductor Devices", First Edition, Sze, 1969, which isknown in the electronics industry and semiconductor industry as astandard workbook describing the mathematical and physical models ofsemiconductor devices. FIGS. 11(a) and 11(b), which are reprinted frompage 41 of Sze, respectively show a first graph 1710 of electronmobility or mobility of N type carriers in N type silicon and a secondgraph 1720 of hole mobility or mobility of P type carriers in P typesilicon. In both graphs 1710 and 1720, the vertical axis shows mobilityin cm² /V-s and the horizontal axis shows temperature. Individual linesare shown for various carrier concentrations.

At a carrier concentration of approximately 10¹⁴ carriers/cm³, mobilitydepends highly on temperature. As carrier concentration is increased,carrier mobility decreases. As carrier mobility decreases, temperaturedependence decreases and substantially disappears at a concentration ofapproximately 10¹⁹ carriers/cm³ for both electron and hole mobility.However, electron mobility is more uniform with a varying temperature,showing a substantially flat characteristic from 0° C. to 150° C. Holemobility, in contrast, shows a very flat characteristic from about 25°C. to about 100° C.

In an integrated circuit, it is advantageous to utilize a diffusedresistor having operating characteristics that do not vary with changesin temperature. Therefore, for an RC oscillator circuit that includes anon-chip resistor for the RC network, it is advantageous to use aresistor having a carrier concentration of approximately 10¹⁹carriers/cm³, whether the resistor is a diffusion, a diffused resistoror an on-chip polysilicon resistor.

What is claimed is:
 1. A filter comprising:a self-calibrating RCoscillator including:a resistor; a capacitor coupled to the resistor toform an RC network, the RC network setting an oscillator frequency; acore oscillator for generating a controlled frequency timing signal at acontrolled frequency; a comparator coupled to the RC network and coupledto a reference voltage for comparing the controlled frequency to theoscillator frequency; and means responsive to the comparator foradjusting the frequency of the core oscillator; and a first switchedcapacitor filter element having an input terminal for receiving an inputsignal, an output terminal generating a filtered output signal, thefirst switched capacitor filter element, and a timing terminal coupledto the self-calibrating RC oscillator, the switched capacitor filterelement including a switch controlled by the controlled frequency timingsignal from the self-calibrating RC oscillator, the timing signaloscillating at the oscillator frequency.
 2. A filter according to claim1, wherein the resistor and capacitor in the RC network set theoscillator frequency that is tunable for tuning the filter element.
 3. Afilter according to claim 1, further comprising:a plurality of cascadedswitched capacitor filter elements coupled to the first switchedcapacitor filter element, each of the cascaded switched capacitor filterelements having a timing terminal coupled to the self-calibrating RCoscillator including a switch controlled by the controlled frequencytiming signal from the self-calibrating RC oscillator, the timing signaloscillating at the oscillator frequency.
 4. A filter according to claim3, wherein the resistor and capacitor in the RC network set theoscillator frequency to tune the plurality of cascaded switchedcapacitor filter elements and track an operating frequency of theself-calibrating RC oscillator.
 5. A filter according to claim 1,wherein the first switched capacitor filter element is a highpass filterelement comprising:an amplifier having an input terminal and an outputterminal; a first filter capacitor coupled between a signal inputterminal and the amplifier input terminal; a second filter capacitor;and a switch switchably coupling the second filter capacitor to a nodebetween the first filter capacitor and the amplifier input terminal. 6.A filter according to claim 1, wherein the first switched capacitorfilter element is a lowpass filter element comprising:an amplifierhaving an input terminal and an output terminal; a first filtercapacitor coupled to the amplifier input terminal; a second filtercapacitor; and a switch switchably coupling the second filter capacitorto a filter signal input terminal and alternatively coupling the secondfilter capacitor to a node between the first filter capacitor and theamplifier input terminal.